﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
    public interface IDbServices<N,K,E>
    {
        N AddData(E e);
        N UpdateData(E e);
        N DeleteData(K k);
        E GetDataByKey(K k);
        List<E> GetAll();
    }
}
